<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>03-供货商-02合作供货厂商-商家详情-02所有产品</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-orientation" content="portrait">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="Expires" content="-1">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Pragma" content="no-cache">
    <link href="/css/public.css" rel="stylesheet" type="text/css" media="all" />
    <link href="/css/personal.css" rel="stylesheet" type="text/css" media="all" />
    <script src="/js/jquery-2.1.4.min.js"></script>
</head>
<body class="graybody">
<header class="header">
    <div class="header_left"><a href="/supplies" class="returnico"></a></div>
    <div class="header_center fontcolor">商家详情</div>
</header>
<!--全部订单菜单-->
<div class="allddnav">
    <ul>
        <li><a href="/supplies_content/<?php echo $ms->g_id?>">店铺首页</a></li>
        <li   class="indexbordercolor cliallddnav fontcolor"><a href="#">所有商品</a></li>
        <li><a href="/supplies_active/<?php echo $ms->g_id?>">优惠活动</a></li>
        <li><a href="/supplies_picture/<?php echo $ms->g_id?>">门店相册</a></li>
        <li><a href="/supplies_tell/<?php echo $ms->g_id?>">联系我们</a></li>
    </ul>
</div>
<div class="jodSel_div jodSel_div2">
    <ul>
        <li class="jodSel_li fontcolor"><a>产品类名</a></li>
        <li class="jodSel_li"><a>商品排序</a></li>
    </ul>
</div>
<div class="supplydiv supplydivno">
    <ul>
        <?php foreach ($msg as $key=>$val){?>
        <li>
            <div class="supplydivli">
                <a href="#">
                    <div class="supplyimg"><img src="<?php echo $val->goods_img?>" width="100%"/></div>
                    <h2><?php echo $val->goods_name?></h2>
                    <p><span class="hqyzmlu">包邮</span><?php echo $ms->g_from?></p>
                    <div class="supplydivlibot"><i class="right cli"></i><span class="right">1466</span>￥<?php echo $val->goods_price?>.00</div>
                </a>
            </div>
        </li>
        <?php } ?>
    </ul>
</div>
<!--弹框-->
<div class="jodSelCont_div jodSelCont_div2">
    <div class="xc_div" style="display: none;">
        <ul class="xcUl">
            <li class="fontcolor"><span>产品类名</span></li>
            <li><span>产品类名</span></li>
            <li><span>产品类名</span></li>
            <li><span>产品类名</span></li>
        </ul>
    </div>
    <div class="xc_div" style="display: none;">
        <ul class="xcUl">
            <li class="fontcolor"><span>全部</span></li>
            <li><span>价格</span></li>
            <li><span>上架时间</span></li>
        </ul>
    </div>
</div>
<div class="black_bg"></div>
<script>
$(function(){
	$(".allddnav").css({"z-index":"9","position":"relative"});
	$(".header").css({"z-index":"9"});
	<!--选择项弹框-->
	$(".jodSel_div ul li").click(function(){
		var n=$(this).index();
		$(this).addClass("fontcolor").siblings("li").removeClass("fontcolor");
		$('.black_bg').width($(window).width()).height(window.innerHeight).fadeTo(0,0.4);
		$(".jodSelCont_div div").eq(n).show().siblings("div").hide();

	})
	$(".black_bg").click(function(){
		$(".black_bg").fadeOut();
		$(".jodSelCont_div div").hide();
		$(".jodSel_div ul li").removeClass("currentRed");
		$("body").css("overflow-y","auto");
	})
	$(".black_bg").on("touchmove",function(event){
		event.preventDefault();
	})
	$(".jodSelCont_div div ul").on("touchmove",function(event){
		event.stopPropagation();
		$("body").css("overflow-y","hidden");
	})
	
	
})

</script>
</body>
</html>